/**
	Pulsar engine. Additional include file.
	Additional date and time functions (MS Windows).

	Copyright (C) 2013-2014 Dmitry Dolgov

	This program is free software; you can redistribute it and/or modify it under the terms of the
	GNU General Public License as published by the Free Software Foundation; either version 2 of
	the License, or (at your option) any later version.
		
	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
	See the GNU General Public License for more details.
*/

#if !defined(PL_WINDOWS) && !defined(PL_WINDOWS64)
#error "Wrong Operation System"
#endif

namespace pl
{

/// Convert from SYSTEMTIME to pl::DateTime
extern void convertSystemTimeToDateTime(const SYSTEMTIME& st, DateTime& dt);
/// Convert from pl::DateTime to SYSTEMTIME
extern void convertDateTimeToSystemTime(const DateTime& dt, SYSTEMTIME& st);

/// Convert from pl::DateTime to FILETIME
extern bool convertWin2Fs(const FILETIME& fileTimeWin, pl::DateTime& fileTimeFs);
/// Convert from FILETIME to pl::DateTime
extern bool convertFs2Win(const pl::DateTime& fileTimeFs, FILETIME& fileTimeWin);



} // namespace pl

//
// End of file 'pulsar_datetime_win.h'
//
